package com.service;

import com.dao.NurseLevelDao;
import com.pojo.NurseContent;
import com.pojo.NurseLevel;

import java.util.List;

public class NurseLevelService {
    private NurseLevelDao nurseLevelDao = new NurseLevelDao();
    public int addNurseLevel(NurseLevel level) {
        return nurseLevelDao.addNurseLevel(level);
    }

    public List<NurseLevel> searchAll() {
       return nurseLevelDao.searchAll();
    }

    public int updateNurseLevel(NurseLevel level) {
        return nurseLevelDao.updateNurseLevel(level);
    }

}
